 .container {
    position: relative;
 }

.wrapper {
    background-color: rgb(211, 255, 255);
    width: 250px;
    padding: 40px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px -2px black;
    z-index: 1000;
    position: relative;
}

.wrapperRegistr, .wrapperPass {
    background-color: rgb(204, 204, 204);
    width: 250px;
    padding: 40px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px -2px black;
    border: .3px solid rgb(211, 255, 255);
    z-index: 1000;
    position: relative;
}

.wrapper form,
.wrapperRegistr form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wrapperPass > form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.wrapperPass form input {
    width: 100%;
    box-sizing: border-box;
    height: 35px;
    padding: 5px 15px 0px 15px;
    border-radius: 7px;
    font-size: 14px;
    color: black;
    outline: none;
    border: .3px solid rgba(128, 128, 128, 0.8);
}

.input {
    height: 28px;
    padding: 5px 15px 0px 15px;
    border-radius: 7px;
    font-size: 14px;
    color: black;
    outline: none;
    border: .3px solid rgba(128, 128, 128, 0.8);
}

.textarea {
    width: 100%;
    box-sizing: border-box;
    height: 60px;
    padding: 10px 15px 0px 15px;
    border-radius: 7px;
    font-size: 14px;
    color: black;
    outline: none;
    border: .3px solid rgba(128, 128, 128, 0.8);
    resize: none;
}


.input:focus, .textarea:focus {
    border: .7px solid black;
}

.item {
    position: relative;
    /* display: flex;
    flex-direction: column; */
}

/* .itemPass {
    position: relative;
    align-self: center;

} */

.label {
    position: absolute;
    left: 15px;
    top: 10px;
    font-size: 14px;
    transition: all .2s;
}

.input:not(:placeholder-shown)~.label,
.input:focus~.label {
    top: 2px;
    font-size: 10px;
    color: rgba(128, 128, 128, 0.7);
}

.textarea:not(:placeholder-shown)~.label,
.textarea:focus~.label {
    opacity: 0;
}

.error {
    position: absolute;
    padding: 0;
    color: red;
    font-size: 12px;
    bottom: -17px;
    left: 10px;
}

.enter {
    padding: 5px 15px;
    align-self: center;
    border-radius: 7px;
    outline: none;
    border: .3px solid rgba(128, 128, 128, 0.8);
    cursor: pointer;
    transition: all .3s;
    font-size: 14px;
}

.enter:hover {
    background-color: rgb(224, 224, 224);
    border: .3px solid rgb(196, 196, 196);
}

.close {
    position: absolute;
    top: 5px;
    right: 5px;
    color: rgba(128, 128, 128, 0.6);
    cursor: pointer;
    transition: all .3s;
}

.close:hover {
    color: rgba(0, 0, 0, 0.6);
}

.footer {
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    position: relative;
    color: gray;
    cursor: pointer;

}


.footer:before {
    content: "или...";
    color: rgb(172, 172, 172);
    text-align: center;
    position: absolute;
    width: 100%;
    top: -20px;
    border-bottom: .3px solid rgba(128, 128, 128, 0.4);
    cursor:default;
}

.footerRegistr {
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    position: relative;
    color: gray;
    cursor: pointer;

}


.footerRegistr:before {
    content: "Зарегистрированы? Тогда";
    color: rgb(145, 145, 145);
    text-align: center;
    position: absolute;
    width: 100%;
    top: -20px;
    border-bottom: .3px solid rgba(128, 128, 128, 0.4);
    cursor:default;
}

.registr {
    transition: all .3s;
}

.registr:hover,
.forgot:hover {
    color: black;
}

.forgot {
    color: rgb(175, 175, 175);
    text-decoration:underline;
    transition: all .3s;
}

.errorFetch {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 1000
}

.eyes {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

.messagePass {
    color: gray;
    font-size: 14px;
    text-align: justify;
}


@media (max-width: 450px) {
    .wrapper, .wrapperRegistr, .wrapperPass {
        padding: 25px 5px;
        width: none;
    }

    .footer {
        flex-direction: column;
        gap: 3px;
        align-items: center;
    }

}